package com.yiqi.zhiyuan.entity.vo;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.suozhang.framework.entity.bo.BaseEntity;
import com.yiqi.zhiyuan.feature.certification.view.adapter.BrandAdapter;

import java.util.List;

/**
 * @ProjectName: ZhiYuan
 * @Description: java类作用描述
 * @Author: lijuwen
 * @CreateDate: 2019/4/19 16:00
 * @UpdateUser: 更新者
 * @UpdateDate: 2019/4/19 16:00
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class BrandChildVO extends AbstractExpandableItem<BrandModelVO> implements MultiItemEntity , BaseEntity {

    /**
     * id : 1012599136979128320
     * bcode : 3
     * parentScode : 0
     * scode : 40
     * sname : 一汽丰田
     * sfirstLetter : Y
     * carModelList :
     */

    private long id;
    private int bcode;
    private int parentScode;
    private int scode;
    private String sname;
    private String sfirstLetter;
    private List<BrandModelVO> carModelList;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getBcode() {
        return bcode;
    }

    public void setBcode(int bcode) {
        this.bcode = bcode;
    }

    public int getParentScode() {
        return parentScode;
    }

    public void setParentScode(int parentScode) {
        this.parentScode = parentScode;
    }

    public int getScode() {
        return scode;
    }

    public void setScode(int scode) {
        this.scode = scode;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSfirstLetter() {
        return sfirstLetter;
    }

    public void setSfirstLetter(String sfirstLetter) {
        this.sfirstLetter = sfirstLetter;
    }

    public List<BrandModelVO> getCarModelList() {
        return carModelList;
    }

    public void setCarModelList(List<BrandModelVO> carModelList) {
        this.carModelList = carModelList;
    }

    @Override
    public int getLevel() {
        return BrandAdapter.TYPE_LEVEL_BRAND;
    }

    @Override
    public int getItemType() {
        return 0;
    }
}
